package com.example.dubbonacosuserprovider;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableDubbo
@NacosPropertySource(dataId = "nacosconfigdemo", autoRefreshed = true)
public class DubboNacosUserProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(DubboNacosUserProviderApplication.class, args);
    }

}
